package com.example.crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "shop")
public class Shop implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 店铺名称
     */
    private String shopName;
    /**
     * 店铺编码
     */
    private  String shopCode;
    /**
     * 账号id
     */
    private Integer accountId;
    /**
     * 账号
     */
    @TableField(exist = false)
    private String shopAccount;
    /**
     * 密码
     */
    @TableField(exist = false)
    private String password;
}
